<template>
  <div class="item item-1d2" data-type="input-currency" v-bind:class="[('w'+obj.property.selfWidth)]">
    <div class="hd" v-bind:class="[('i'+obj.property.titleWidth+'d6')]">
      <label class="tit">{{obj.property.title}}</label>
      <span class="required" v-show="obj.property.required">*</span>
      <span class="block muted">{{obj.property.intro}}</span>
      <v-handle v-bind:handle="obj.handle"></v-handle>
    </div>
    <div class="bd hasunit" v-bind:class="[('i'+(obj.property.titleWidth==6?6:6-obj.property.titleWidth)+'d6')]">
      <!--<input v-bind:placeholder="obj.property.placeholder">
      <span class="type">{{obj.property.numberOption.unit}}</span>-->
      <el-input :placeholder="obj.property.placeholder" v-model="obj.value">
        <template slot="append">{{obj.property.numberOption.unit}}</template>
      </el-input>
    </div>
  </div>
</template>
<script>
export default {
  props: ['obj']
}
</script>
